(C) 1996 AROS - The Amiga Replacement OS
NAME
#include <proto/dos.h>
BPTR Open()
SYNOPSIS
STRPTR name
LONG accessMode
LOCATION
In DOSBase at offset 5
FUNCTION
Opens a file for read and/or write depending on the accessmode given.
INPUTS
name
NUL terminated name of the file.
accessMode
One of MODE_OLDFILE - open existing file
MODE_NEWFILE
delete old, create new file exclusive lock
MODE_READWRITE
open new one if it doesn't exist
RESULT
Handle to the file or 0 if the file couldn't be opened. IoErr() gives additional information in that case.
NOTES
EXAMPLE
BUGS
SEE ALSO
INTERNALS
HISTORY
14.04.1997 aros
Polish
27.01.1997 ldp
Polish
09.12.1996 aros
Added empty templates for all missing functions
Moved #include's into first column
22.11.1996 aros
Fixed bug for Open("CONSOLE:") to make run work again
14.11.1996 aros
Some more changes
24.10.1996 aros
Use the official AROS macros over the __AROS versions.
21.09.1996 digulla
Hand DOSBase to DoName()
17.09.1996 digulla
BADDR() instead of MKBADDR()
13.09.1996 digulla
Use IPTR
11.09.1996 digulla
Open() and Lock() are two different functions now (M. Fleischer)
13.08.1996 digulla
Replaced <dos/dosextens.h> by "dos_intern.h" or added "dos_intern.h" Replaced __AROS_LA by __AROS_LHA
12.08.1996 digulla
Added aliases
01.08.1996 digulla
Added standard header for all files
28.07.1996 digulla
Initial revision
28.07.1996 digulla
First CVS version of AROS